package com.sdhs.costcontrol.domain;

import java.math.BigDecimal;
import java.util.List;

import lombok.Data;

@Data
public class ControlContract {

	/** 关联项目id */
    private Long projectId;
    /** 合同中间表id */
    private Long middleId;
    /*合同中间表-应付账款*/
    private BigDecimal sumAccountsPayable;
    /** 采购合同id */
    private String contractId;
    
    /** 主合同id */
    private String mainContractId;
    
    /** 合同编号 */
    private String contractNumber;
    
    /** 主合同编号 */
    private String originalContractNum;

    /** 合同名称 */
    private String contractName;
    
    /** 合同金额 */
    private BigDecimal contractMoney;
    
    private BigDecimal contractMoneyTemp;
    
    private BigDecimal money;
    
    /** 合同相对方(供应商名称) */
    private String contractParty;
    
    /** 合同文本链接 */
    private String fileUrl;
    
    /** 累计支付金额 */
    private BigDecimal totalPaymentAmount;
    
    private BigDecimal totalPaymentAmountTemp;
    
    /** 累计支付比例 */
    private BigDecimal totalPaymentRatio;
    
    /** 累计发票金额 */
    private BigDecimal totalInvoiceAmount;
    
    private BigDecimal totalInvoiceAmountTemp;
    
    /** 累计发票比例 */
    private BigDecimal totalInvoiceRatio;
    
    /** 支付列表 */
    private List<GcControlContractPay> payList;
    
    private List<ControlContract> children;

    /**累计 已开票金额（不含税）*/
    private BigDecimal totalNotInvoicedAmount;

    /**累计 未开发票金额（含税）*/
    private BigDecimal totalUninvoicedAmount;

    /**累计 未开发票比例（含税）*/
    private BigDecimal totalProportionUnissuedInvoices;

    /**累计 成本确认金额(不含税支出类合同)*/
    private BigDecimal totalNotCostConfirmationAmount;

    /**累计 成本确认金额(支出类合同)*/
    private BigDecimal totalCostConfirmationAmount;

    /**累计 成本确认比例(支出类合同)*/
    private BigDecimal totalCostConfirmationRatio;

    /**累计 应付账款(支出类合同)*/
    private BigDecimal totalAccountsPayable;
}
